package com.yyk.yiliao.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2018/8/27 0027.
 */

public class StoreInfotwo_Info {


    @Override
    public String toString() {
        return "StoreInfotwo_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : {"id":1,"gid":15,"type":"颗粒","package":"【1盒】20g*30袋 2盒装 3盒装","dose":"一次20克，一日2次","code":"国药准字Z43021017","uselife":"24个月","enterprise":"九芝堂股份有限公司","usetype":"口服","recipe":1}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", gid=" + gid +
                    ", brand='" + brand + '\'' +
                    ", type='" + type + '\'' +
                    ", packageX='" + packageX + '\'' +
                    ", dose='" + dose + '\'' +
                    ", code='" + code + '\'' +
                    ", uselife='" + uselife + '\'' +
                    ", enterprise='" + enterprise + '\'' +
                    ", usetype='" + usetype + '\'' +
                    ", recipe=" + recipe +
                    '}';
        }

        /**
         * id : 1
         * gid : 15
         * type : 颗粒
         * package : 【1盒】20g*30袋 2盒装 3盒装
         * dose : 一次20克，一日2次
         * code : 国药准字Z43021017
         * uselife : 24个月
         * enterprise : 九芝堂股份有限公司
         * usetype : 口服
         * recipe : 1
         */

        private int id;
        private int gid;
        private String brand;
        private String type;
        @SerializedName("package")
        private String packageX;
        private String dose;
        private String code;
        private String uselife;
        private String enterprise;
        private String usetype;
        private int recipe;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGid() {
            return gid;
        }

        public void setGid(int gid) {
            this.gid = gid;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getDose() {
            return dose;
        }

        public void setDose(String dose) {
            this.dose = dose;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getUselife() {
            return uselife;
        }

        public void setUselife(String uselife) {
            this.uselife = uselife;
        }

        public String getEnterprise() {
            return enterprise;
        }

        public void setEnterprise(String enterprise) {
            this.enterprise = enterprise;
        }

        public String getUsetype() {
            return usetype;
        }

        public void setUsetype(String usetype) {
            this.usetype = usetype;
        }

        public int getRecipe() {
            return recipe;
        }

        public void setRecipe(int recipe) {
            this.recipe = recipe;
        }
    }
}
